package com.cmzj21.springcloud.service.impl;

import com.cmzj21.springcloud.service.PaymentHystrixService;
import org.springframework.stereotype.Component;

/**
 * @author cmzj21
 */
@Component
public class PaymentFallbackService implements PaymentHystrixService {
    @Override
    public String ok(Integer id) {
        return "ok函数的通配fallback";
    }

    @Override
    public String failed(Integer id) {
        return "failed函数的通配fallback";
    }
}
